
<select name='cc_term_weather'>
<?php if(isset($weather)) : ?>
	<option<?php echo $weather == 'Sunny' ? " selected='selected'" : '' ?>>Sunny</option>
	<option<?php echo $weather == 'Partly Sunny' ? " selected='selected'" : '' ?>>Partly Sunny</option>
	<option<?php echo $weather == 'Cloudy' ? " selected='selected'" : '' ?>>Cloudy</option>
	<option<?php echo $weather == 'Rainy' ? " selected='selected'" : '' ?>>Rainy</option>
<?php else: ?>
	<option>Sunny</option>
	<option>Partly Sunny</option>
	<option>Cloudy</option>
	<option>Rainy</option>
<?php endif; ?>
</select>
